import service from "@/api/service";


export function listClients() {
    return service({
        method: 'get',
        url: '/api/client/clients'
    })
}

export function addClient(data) {
    return service({
        method: 'put',
        url: '/api/client',
        data: data
    })
}

export function removeClient(id) {
    return service({
        method: 'delete',
        url: '/api/client/' + id
    })
}

export function notifyClientStatus(id) {
    return service({
        method: 'post',
        url: '/api/client/' + id
    })
}
